package com.example.mvvm.fragment;

import android.os.Bundle;

import androidx.annotation.Nullable;

import com.example.mvvm.BR;
import com.example.mvvm.R;
import com.example.mvvm.base.BaseFragment;
import com.example.mvvm.databinding.FragmentChatsBinding;
import com.example.mvvm.databinding.FragmentDiscoverBinding;
import com.example.mvvm.viewmodel.fragment.ChatsViewModel;
import com.example.mvvm.viewmodel.fragment.DiscoverModel;

/**
 * Time: 5/18/2021 11:52
 * Author: TAO
 * Description:
 */
public class DiscoverFragment extends BaseFragment<DiscoverModel, FragmentDiscoverBinding> {


    @Override
    public int getLayoutId() {
        return R.layout.fragment_discover;
    }

    @Override
    public void initData(@Nullable Bundle savedInstanceState) {

    }

    @Override
    public int variableId() {
        return BR.viewModel;
    }

    public static DiscoverFragment newInstance() {
        DiscoverFragment chatsFragment = new DiscoverFragment();
        Bundle args = new Bundle();
        chatsFragment.setArguments(args);
        return chatsFragment;
    }
}
